QuillBooking\REST_API\Controllers\v1\REST_Availability_Controller B

Total Complexity 78
Dependencies 8
Dependents 1
Total lines 823
Lines of code 546
Logical lines of code 187
Comment lines 178
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
update_item()
B
38 16 67
replace_availability_references_before_delete()
A
46 10 39
get_item_schema()
A
33 1 168
get_availability_events_data()
A
47 7 37
delete_item()
S
51 7 24
get_items()
S
54 7 19
create_item()
S
48 6 34
clone_item()
S
52 4 24
register_routes()
S
42 1 67
set_default()
S
53 4 21
get_item()
S
59 4 13
get_items_permissions_check()
S
79 2 3
get_item_permissions_check()
S
79 2 3
update_item_permissions_check()
S
79 2 3
delete_item_permissions_check()
S
79 2 3
prepare_availability_for_response()
S
62 1 12
create_item_permissions_check()
S
80 1 3
events_details_for_availability()
S
70 1 6